package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【商城用户】对象 mp_client_message
 * 
 * @author ruoyi
 * @date 2022-07-23
 */
@ApiModel(value = "MpClientMessage",description = "【商城用户】对象 mp_client_message")
public class MpClientMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户反馈消息主键 */
    private Long id;

    /** 商城用户ID */
    @ApiModelProperty(value="商城用户ID",name="MpClientMessage$clientId")
    @Excel(name = "商城用户ID")
    private Long clientId;

    /** 用户留言 */
    @ApiModelProperty(value="用户留言",name="MpClientMessage$clientMessage")
    @Excel(name = "用户留言")
    private String clientMessage;

    /** 是否解答（0是1否） */
    @ApiModelProperty(value="是否解答",name="MpClientMessage$isAnswer")
    @Excel(name = "是否解答", readConverterExp = "0=是1否")
    private String isAnswer;

    /** 解答内容 */
    @ApiModelProperty(value="解答内容",name="MpClientMessage$answerContent")
    @Excel(name = "解答内容")
    private String answerContent;

    private String clientName;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientMobile() {
        return clientMobile;
    }

    public void setClientMobile(String clientMobile) {
        this.clientMobile = clientMobile;
    }

    private String clientMobile;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setClientMessage(String clientMessage) 
    {
        this.clientMessage = clientMessage;
    }

    public String getClientMessage() 
    {
        return clientMessage;
    }
    public void setIsAnswer(String isAnswer) 
    {
        this.isAnswer = isAnswer;
    }

    public String getIsAnswer() 
    {
        return isAnswer;
    }
    public void setAnswerContent(String answerContent) 
    {
        this.answerContent = answerContent;
    }

    public String getAnswerContent() 
    {
        return answerContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientId", getClientId())
            .append("clientMessage", getClientMessage())
            .append("isAnswer", getIsAnswer())
            .append("answerContent", getAnswerContent())
            .toString();
    }
}
